package com.xuecheng.system.api;

import com.xuecheng.commons.model.vo.ResponseResult;

import com.xuecheng.commons.model.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("xc-system-service")
public interface SystemClient {
    @GetMapping("/login/get")
    public ResponseResult<UserVo> getUserById(@RequestParam Long userId);
}
